const { ProjectDataBiz } = require('../../config/services_config.js');

function getFormConfigByType(type) {
  if (!ProjectDataBiz || typeof ProjectDataBiz.getFormConfigByType !== 'function') {
    throw new Error('ProjectDataBiz.getFormConfigByType 未定义');
  }
  return ProjectDataBiz.getFormConfigByType(type);
}

module.exports = {
  getFormConfigByType
}; 